package com.springcloud.zuul.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.springcloud.zuul.entity.SysDeptEntity;
import com.springcloud.zuul.mapper.SysDeptDao;
import com.springcloud.zuul.service.SysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: springcloud-zuul
 * @description: 公司
 * @author: zhlu
 * @create: 2020-01-07 13:45
 * @Introduction(说明背景故事)
 **/
@Service("sysDeptService")
public class SysDeptServiceImpl extends ServiceImpl<SysDeptDao, SysDeptEntity> implements SysDeptService {

    @Autowired
    SysDeptDao sysDeptDao;

    @Override
    public SysDeptEntity queryByDeptId(String deptId){
        return sysDeptDao.queryByDeptId(deptId);
    }

}
